package string;

public class StringStringBuilderDemo {
    public static void main(String[] args) {
        String s = "a";
        StringBuilder sb = new StringBuilder(s);
        for (int i = 0; i < 100000; i++) {
            sb.append(i);
        }
        String str = sb.toString();
        System.out.println(str);
        System.out.println("执行完毕");
    }
}
